package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.ShopWithdrawCreateValidate;
import com.mdd.admin.validate.ShopWithdrawUpdateValidate;
import com.mdd.admin.validate.ShopWithdrawSearchValidate;
import com.mdd.admin.vo.ShopWithdrawListedVo;
import com.mdd.admin.vo.ShopWithdrawDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 商户提现记录服务接口类
 * @author DEREK
 */
public interface IShopWithdrawService {

    /**
     * 商户提现记录列表
     *
     * @author DEREK
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ShopWithdrawListedVo>
     */
    PageResult<ShopWithdrawListedVo> list(PageValidate pageValidate, ShopWithdrawSearchValidate searchValidate);

    /**
     * 商户提现记录详情
     *
     * @author DEREK
     * @param id 主键ID
     * @return ShopWithdrawDetailVo
     */
    ShopWithdrawDetailVo detail(Integer id);

    /**
     * 商户提现记录新增
     *
     * @author DEREK
     * @param createValidate 参数
     */
    void add(ShopWithdrawCreateValidate createValidate);

    /**
     * 商户提现记录编辑
     *
     * @author DEREK
     * @param updateValidate 参数
     */
    void edit(ShopWithdrawUpdateValidate updateValidate);

    /**
     * 商户提现记录删除
     *
     * @author DEREK
     * @param id 主键ID
     */
    void del(Integer id);

}
